import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * <一句话说明类的作用>
 *
 * @author zhangbaocheng
 * @date 2020-04-16 17:43
 */
public class Log4j2 {

    private static final Logger LOGGER = LogManager.getLogger(Log4j2.class.getName());

    public static void main(String[] args) {
        log();
    }

    public static void log(){
        LOGGER.info("this is Log4j2...");
    }
}
